package cn.yzc.mapper;

import cn.yzc.entity.OrderDetails;
import cn.yzc.entity.Orders;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>Project: SpringColud - OrdersMapper</p>
 * <p>Powered by yzc On 2024-01-05 17:55:39</p>
 * <p>描述：<p>
 *
 * @author yzc [yzc0415@126.com]
 * @version 1.0
 * @since 17
 */
@Mapper
public interface OrdersMapper  {

   int insert(Orders orders);

   int insertDetailsList(@Param("oid") String oid, @Param("orderDetailsList") List<OrderDetails> orderDetailsList);
}
